body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #282828;
    background: #f6f6f6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #f84443;
}

img {
    width: 100%;
}

header {
    margin-bottom: -5px;
}

.banner {
    position: relative;
    width: 100%;
}


/* 信号栏模块 */

.signal {
    position: absolute;
    top: 12px;
    left: 5%;
    height: 15px;
    width: 90%;
}


/* 搜索栏模块 */

.search-box {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 35px;
    display: flex;
}

.search {
    position: relative;
    flex: 90%;
    height: 35px;
    margin-left: 30px;
    background-color: #fff;
    border-radius: 68px;
}

.search-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -246px -2px;
    background-size: 366px auto;
}

.search input {
    position: absolute;
    top: 0;
    left: 30px;
    border: none;
    outline: none;
    height: 33px;
    border-radius: 35px;
}

.search input::placeholder {
    font-size: 12px;
    color: #bcbcbc;
    line-height: 26px;
}

.msg {
    flex: 10%;
    margin-right: 30px;
}

.msg a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #fff;
}

.msg-icon {
    width: 25px;
    height: 25px;
    background: url(../images/sprite.png) no-repeat -242px -26px;
    background-size: 366px auto;
}


/* 导航栏模块 */

nav ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    background-color: #fff;
    padding-top: 26px;
}

nav ul li {
    flex: 25%;
}

nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 26px 0;
    color: #7a7a7a;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
}

nav ul li a [class^="nav"] {
    width: 56px;
    height: 56px;
    background: url(../images/sprite.png) no-repeat 0 0;
    background-size: 366px auto;
    margin-bottom: 5px;
}

nav ul li a .nav-icon2 {
    background-position: -57px 0;
}

nav ul li a .nav-icon3 {
    background-position: -113px 0;
}

nav ul li a .nav-icon4 {
    background-position: -169px 0;
}

nav ul li a .nav-icon5 {
    background-position: 0 -57px;
}

nav ul li a .nav-icon6 {
    background-position: -57px -57px;
}

nav ul li a .nav-icon7 {
    background-position: -113px -57px;
}

nav ul li a .nav-icon8 {
    background-position: -169px -57px;
}


/* 广告模块 */

.ad {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    background-color: #fff;
    padding: 12px auto;
}

.ad a {
    width: 90%;
}


/* 增收产品模块 */

.add {
    margin-top: 12px;
    background-color: #fff;
    padding: 0 25px 15px;
}

.add-hd {
    position: relative;
    height: 50px;
}

.add-hd h2 {
    position: absolute;
    top: 0;
    left: 10px;
    font-weight: normal;
    line-height: 20px;
}

.add-hd h2::before {
    position: absolute;
    content: "";
    top: 3px;
    left: -10px;
    width: 3px;
    height: 15px;
    background-color: #ed3341;
}

.add-hd a {
    position: absolute;
    top: 50%;
    right: 0;
    padding-right: 18px;
    color: #7a7a7a;
    transform: translateY(-50%);
}

.add-hd a i {
    position: absolute;
    top: 5px;
    right: 0;
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: #ff5b6a;
}

.add-hd a i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 1px;
    height: 6px;
    background-color: #fff;
}

.add-hd a i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 6px;
    height: 1px;
    background-color: #fff;
}

.add-bd {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #eee;
    border-radius: 6px;
}

.add-bd li {
    flex: 50%;
    text-align: center;
    box-sizing: border-box;
    padding: 18px 36px;
}

.add-bd li:nth-child(-n+2) {
    border-bottom: 1px solid #eee;
}

.add-bd li:nth-child(1),
.add-bd li:nth-child(3) {
    border-right: 1px solid #eee;
}

.add-bd li a {
    display: flex;
    flex-direction: column;
    color: #9b9b9b;
    font-size: 12px;
}

.add-bd li a h3 {
    color: #000;
    line-height: 0;
    margin: 10px;
}

.add-bd li a span:nth-child(3) {
    color: #ff6969;
    font-size: 15px;
    margin: 5px 0;
}


/* 产品导航模块 */

.pro-hd {
    display: flex;
    width: 80%;
    height: 35px;
    margin: 20px auto;
}

.pro-hd a {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #282828;
}

.pro-hd a:first-child {
    color: #f84443;
}

.pro-hd a:first-child::after {
    content: "";
    width: 30px;
    height: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background-color: #ed3341;
    border-radius: 3px;
}

.pro-bd {
    display: flex;
    flex-wrap: wrap;
    padding: 0 25px;
}

.pro-bd li {
    flex: 45%;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 0 16px;
    border: 1px solid #eee;
}

.pro-bd li:nth-child(odd) {
    margin-right: 10px;
}

.pro-bd li a {
    display: flex;
    flex-direction: column;
}

.pro-bd li a h5 {
    font-weight: 400;
    font-size: 14px;
    color: #282828;
    margin: 0;
}

.pro-bd li a span:nth-child(3) {
    text-align: left;
    font-size: 14px;
    color: #282828;
}

.pro-bd li a span:nth-child(4) {
    position: relative;
    font-size: 15px;
    margin: 10px 0;
}

.pro-bd li a img {
    height: 100px;
    margin: 40px 0;
}

.pro-bd li a span:nth-child(4) i {
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 20px;
    height: 20px;
    border: 1px solid #f84443;
    border-radius: 20px;
}

.pro-bd li a span:nth-child(4) i::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 1px;
    background-color: #f84443;
}

.pro-bd li a span:nth-child(4) i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 8px;
    background-color: #f84443;
}


/* 底部选项卡模块 */

footer {
    display: flex;
    padding: 6px 15px;
    background-color: #fff;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, .2);
}

footer a {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #707070;
}

footer a:first-child {
    color: #f84443;
}

footer a [class^="footer"] {
    width: 22px;
    height: 22px;
    background: url(../images/sprite.png) no-repeat -280px 0;
    background-size: 366px auto;
}

footer a .footer-icon2 {
    background-position: -302px 0;
}

footer a .footer-icon3 {
    background-position: -327px 0;
}

footer a .footer-icon4 {
    background-position: -347px 0;
}